                        
<?php
/*@var $this \yii\web\View */

use yii\web\Controller;

use backend\assets\MerchandissortAsset;
use yii\helpers\Url;
//MerchandissortAsset::register ( $this );

?>      
<?php
$this->beginBlock('pagename')
?>
商品类别
<?php 
$this->endBlock()
?>
        <div class="row"  id="option"  style="height:1900px" >
                                       
			<div class="col-sm-10"  >
				<div class="widget-box" style="height:90%">
					<div class="widget-header">
						<h4>
							商品分类展示
						</h4>
					</div>	
																		
					<div class="widget-body">
			              <!-- 添加类别start -->
		            <div class="col-sm-5" style="float: right;margin:20px 450px 0px 0px">
						<!-- #section:elements.tab.option -->
						<div class="tabbable">
							<ul class="nav nav-tabs padding-12 tab-color-blue background-blue" id="myTab4">
								<li class="active">
									<a data-toggle="tab" href="#home4">添加分类商品</a>
								</li>

								<li>
									<a data-toggle="tab" href="#profile4">修改分类商品</a>
								</li>

								<li>
									<a data-toggle="tab" href="#dropdown14">删除分类商品</a>
								</li>
							</ul>
							<div class="tab-content" id="tab" >
								<div id="home4" class="tab-pane in active">				 
								 <?= $this->render('_merchandissotadd',['merchandissortmodel'=>$merchandissortmodel,'id'=>$id ]) ?>					                										
								</div>

								<div id="profile4" class="tab-pane">
									<h4 style="color:green">请先选择左边的商品类别再进行修改</h4> 
									<?= $this->render('_merchandissortupdate',['updatamodel'=>$updatamodel,'id'=>$id,
																				'ID'=>$ID,
																				'MerchandiseCID'=>$MerchandiseCID,
																				'MerchandisePID'=>$MerchandisePID,
																				'MerchandiseCName'=>$MerchandiseCName,
																				'SortID'=>$SortID,
																				'State'=>$State
					                 ]) ?>			 
								</div>
				 
								<div id="dropdown14" class="tab-pane">
									<h4 style="color:green">请先选择左边的商品类别再进行删除</h4> 
									 <?= $this->render('_merchandissortdele',['merchandissortmodel'=>$merchandissortmodel,'id'=>$id ]) ?>	
								</div> 
							
							</div>					
						</div>
                    </div><!-- /.col -->
							
					    <!-- 添加类别end -->
						<div class="widget-main">
							<?= $this->render('_merchandissortshow') ?>                                                            
									<hr/>
									
                                      
					           <div style="height: 100px;width:320px;padding-top:13px" > 
                                     <div class="well well-sm">
									<h4 class="lighter no-margin-bottom">
										<i class="ace-icon fa fa-hand-o-right icon-animated-hand-pointer blue"></i>
										<a href="#custom/content-slider" class="pink btn-display-help">请点击菜单树查看详情 </a>
									</h4>
								</div>
                                 </div>   
                                      
									<!-- /section:elements.tooltip -->
								</div>
							</div>
				
						</div>
				                              		
		</div>
													                           		
		</div>
							
								